package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.ScenicTheme;
import cn.wolfcode.luowowo.article.mapper.ScenicThemeMapper;
import cn.wolfcode.luowowo.article.service.IScenicThemeService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ScenicThemeServiceImpl implements IScenicThemeService {
    @Autowired
    private ScenicThemeMapper scenicThemeMapper;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(ScenicTheme record) {
        return 0;
    }

    @Override
    public ScenicTheme selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public List<ScenicTheme> selectAll() {
        return scenicThemeMapper.selectAll();
    }

    @Override
    public int updateByPrimaryKey(ScenicTheme record) {
        return 0;
    }

    @Override
    public List<ScenicTheme> listAll() {
        return scenicThemeMapper.selectAll();
    }
}
